﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics.Contracts;

namespace Project.Util.UAE
{
    public static class StringExtension
    {
        public static string Md5(this string s)
        {
            Contract.Requires<ArgumentNullException>(!string.IsNullOrEmpty(s), "计算哈希值的原值不能为空");
            //TODO 实现默认的MD5算法
            return "11122";
        }
    }
}
